WebDebug logo
WebDebug
网页调试者
Web debugging tool
Web 调试工具
To read this page in another language, open it in Safari and tap the Translate button. 如需查看其他语言,请用 Safari 打开本页,然后点击浏览器上的 翻译。

WebDebug

An all-in-one web debugging tool for Web developers and front-end debugging. Built-in browser, code injection, static server, Mac remote debugging and GitHub features let you preview pages, inject scripts, debug APIs and analyze resources right on your phone.

1. Overview

WebDebug is an all-in-one web debugging tool for Web developers and front-end scenarios. It combines a built-in browser, code injection, a static server, Mac remote debugging and common GitHub features, letting you preview pages, inject scripts, debug APIs and analyze resources right on your phone.

Main features:

Suitable for mobile page debugging, quick HTML preview and testing, front-end script authoring and validation, local static site integration, and GitHub code search.

2. Main Features

FeatureDescription
Built-in browserOpen any URL to browse, with search, favorites, history and web cache management.
Debug panelsMultiple built-in panels to view Console logs, Network requests, DOM and elements on the phone.
Code injectionManage multiple scripts (CSS / JS / HTML), inject on demand, switch or cancel anytime.
Static serverRun a phone folder as a static website, with QR access, LAN broadcast and access-code protection.
Mac remote debuggingConnect the phone to a Mac and use Safari Web Inspector to set breakpoints, watch network and edit DOM / CSS.
GitHub integrationRepository search, code search, trending, and profile (personal page / info).
Common toolsMore than 80 development tools covering format conversion, encryption & hashing, network IP, text generation, all available offline.
Common settingsAdjust search engine, code injection timing and other personalization options.
QR scanningRecognize QR codes via camera or photo album to quickly open the matching URL.

2.1 Built-in Browser & Debug Panels

2.2 Code Injection (Multi-Script Management)

Injection rules:

2.3 Built-in Static Server

2.4 Mac Remote Debugging (Safari Web Inspector)

2.5 GitHub Integration

2.6 Built-in Tools

3. Usage Help

3.1 Quick Start

  1. Open the app to enter the built-in browser home page.
  2. Type a URL or keyword in the search bar and tap search / go.
  3. Once a page opens, browse it; summon the debug panel when you need to debug.

3.2 Using the Debug Panels

  1. Open any web page.
  2. Summon the debug panel through the debug entry on the browser page.
  3. Switch between Console / Network / Elements tabs in the panel to view debug info.

3.3 Code Injection

  1. Sidebar → Code Injection to enter the script list.
  2. Tap New and write an injection script (choose type: CSS / JS / HTML).
  3. After saving, tap the script button at the top of the browser detail page.
  4. Select the script to inject; the page reloads automatically and takes effect.
  5. To cancel, tap the script button again and choose Cancel Injection to restore a clean page.

3.4 Previewing Local Pages with the Static Server

  1. Sidebar → Static Server to enter the serving panel.
  2. Choose a serving folder (the WebDebug folder in the app sandbox).
  3. Tap Start and wait for the server to finish starting.
  4. On the phone, the local address http://127.0.0.1:8080/ can be accessed directly.
  5. On other devices, ensure they connect to the same WiFi, then scan the page’s QR code or use a browser to open the displayed LAN address.
  6. If an access code is required, enter the displayed 6-digit code.
  7. When finished, tap Stop to close the service.

3.5 Mac Remote Debugging

  1. Connect the iPhone to the Mac with a cable or the same WiFi.
  2. On the Mac, open Safari → Settings → Advanced → check Show Develop menu in menu bar.
  3. In Safari’s Develop menu, select your phone.
  4. Select the web page inside the app.
  5. Use the full Web Inspector for breakpoints, network and DOM / CSS debugging.
Note: Mac remote debugging is not supported below iOS 16.4; you can continue using the app’s other built-in debugging tools.

3.6 Using GitHub Features

  1. Sidebar → GitHub.
  2. Enter Repositories / Code / Trending / Profile as needed.
  3. Search by keyword on the repository or code page.
  4. Browse trending projects on the trending page; view your profile in Profile.

3.7 Common Settings

3.8 FAQ

Q1: Nothing happens after code injection?
Check whether the script content follows the injection rules (type, quote style); make sure you have selected the script to inject on the browser detail page.
Q2: Other devices cannot access the static server?
Confirm both devices are on the same WiFi; confirm the correct 6-digit access code; check whether the port is occupied (default 8080, can move on).
Q3: Can’t see the web page in Mac remote debugging?
Confirm iOS 16.4 or later; confirm the Develop menu is enabled in Safari; confirm the phone is connected to the Mac (cable or same WiFi).
Q4: Search / page access behaves abnormally?
Try switching the search engine in Common Settings, or clear the web cache and retry.
This guide corresponds to the current version of WebDebug. Feature details are subject to the actual app behavior.

网页调试者

一款面向 Web 开发者与前端调试场景的一站式网页调试工具。集内置浏览器、代码注入、静态服务器、Mac 远程调试与 GitHub 常用功能于一体,让你在手机上即可完成页面预览、脚本注入、接口调试与资源分析。

一、软件介绍

「网页调试者」是一款面向 Web 开发者与前端调试场景的一站式网页调试工具,集内置浏览器、代码注入、静态服务器、Mac 远程调试与 GitHub 常用功能于一体,让您在手机上即可完成页面预览、脚本注入、接口调试与资源分析。

主要功能:

适用于移动端页面调试、HTML 页面快速预览与测试、前端脚本编写验证、本地静态网站联调、GitHub 代码检索等常见开发场景。

二、主要功能

功能说明
内置浏览器打开任意网址浏览网页,支持搜索、收藏、历史记录、网页缓存管理。
调试面板内置多种调试面板在手机上即可查看 Console 日志、Network 请求、DOM 与元素。
代码注入多份脚本管理(CSS / JS / HTML),按需注入、随时切换或取消。
静态服务器把手机目录当作静态网站运行,扫码访问、局域网广播、授权码保护。
Mac 远程调试手机连 Mac 后用 Safari Web Inspector 打断点、看网络、改 DOM / CSS。
GitHub 集成仓库搜索、代码搜索、趋势(Trending)、我的(个人主页 / 信息)。
常用工具集内置 80 余款开发小工具,覆盖格式转换、加密哈希、网络 IP、文本生成等,全部离线可用。
常用设置调整搜索引擎、代码注入时机等个性化选项。
扫码识别通过摄像头或相册识别二维码,快速打开对应网址。

2.1 内置浏览器与调试面板

2.2 代码注入(多脚本管理)

注入小规则:

2.3 内置静态服务器

2.4 Mac 远程调试(Safari Web Inspector)

2.5 GitHub 集成

2.6 内置工具集(Tools)

三、使用帮助

3.1 快速开始

  1. 打开 App,进入内置浏览器主页;
  2. 在搜索栏输入网址或关键词,点击搜索 / 前往;
  3. 打开网页后即可浏览,需要调试时呼出调试面板。

3.2 如何使用调试面板

  1. 打开任意网页;
  2. 通过浏览器页面上的调试入口呼出调试面板;
  3. 在面板中切换 Console / Network / Elements 等页签查看调试信息。

3.3 如何进行代码注入

  1. 侧边栏 →「代码注入」,进入脚本列表;
  2. 点击「新建」,编写一份注入脚本(选择类型:CSS / JS / HTML);
  3. 保存后,在浏览器详情页顶部点击脚本按钮;
  4. 选择要注入的脚本,页面自动重新加载并生效;
  5. 需要取消时,再次点击脚本按钮选择「取消注入」恢复干净页面。

3.4 如何用静态服务器预览本地页面

  1. 侧边栏 →「静态服务器」,进入服务面板;
  2. 选择服务目录(App 沙盒内的 WebDebug 目录);
  3. 点击「启动」,等待服务器启动完成;
  4. 在手机上,本机可直接访问 http://127.0.0.1:8080/;
  5. 在其他设备上,保证与手机连接同一 WiFi,扫描页面二维码或用浏览器访问显示的局域网地址;
  6. 如需授权码,输入页面显示的 6 位授权码即可;
  7. 使用完毕点击「停止」关闭服务。

3.5 如何使用 Mac 远程调试

  1. 用数据线或同一 WiFi 将 iPhone 连接 Mac;
  2. Mac 打开 Safari → 设置 → 高级 → 勾选「在菜单栏中显示『开发』菜单」;
  3. 在 Safari 的「开发」菜单中选择你的手机;
  4. 选择 App 内的网页;
  5. 即可使用完整的 Web Inspector 进行断点、网络与 DOM / CSS 调试。
提示:iOS 16.4 以下不支持 Mac 远程调试,可继续使用 App 内置的其他调试工具。

3.6 如何使用 GitHub 功能

  1. 侧边栏 →「GitHub」;
  2. 根据需要进入「仓库 / 代码 / 趋势 / 我的」;
  3. 在仓库或代码页输入关键词搜索;
  4. 在趋势页浏览热门项目,在「我的」查看个人主页。

3.7 常用设置

3.8 常见问题(FAQ)

Q1:代码注入后页面没反应?
检查脚本内容是否符合注入规则(类型、引号规范);确认在浏览器详情页已选择要注入的脚本。
Q2:静态服务器其他设备访问不了?
确认两台设备连接的是同一个 WiFi;确认已输入正确的 6 位授权码;检查端口是否被占用(默认 8080,可顺延)。
Q3:Mac 远程调试看不到网页?
确认 iOS 16.4 及以上;确认 Safari 已开启「开发」菜单;确认手机已连接 Mac(数据线或同一 WiFi)。
Q4:搜索 / 访问网页出现异常?
可尝试在常用设置中切换搜索引擎,或清理网页缓存后重试。